package com.lanou.bookstore.order.domain;


import java.util.ArrayList;
import java.util.List;

public class Order {
    private String oid;
    private String OrderTime;  // 下单时间
    private double total;    // 合计
    private int state;       // 订单状态
    private String uid;
    private String address;   // 收货地址
    private List<OrderItem> orderItemList = new ArrayList<>();

    public List<OrderItem> getOrderItemList() {
        return orderItemList;
    }

    public Order setOrderItemList(List<OrderItem> orderItemList) {
        this.orderItemList = orderItemList;
        return this;
    }

    public String getUid() {
        return uid;
    }

    public String getOrderTime() {
        return OrderTime;
    }

    public Order setOrderTime(String orderTime) {
        OrderTime = orderTime;
        return this;
    }

    public Order setUid(String uid) {
        this.uid = uid;

        return this;
    }


    public String getOid() {
        return oid;
    }

    public Order setOid(String oid) {
        this.oid = oid;
        return this;
    }



    public double getTotal() {
        return total;
    }

    public Order setTotal(double total) {
        this.total = total;
        return this;
    }

    public int getState() {
        return state;
    }

    public Order setState(int state) {
        this.state = state;
        return this;
    }


    public String getAddress() {
        return address;
    }

    public Order setAddress(String address) {
        this.address = address;
        return this;
    }




}
